package com.itheima.reader;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;

/*
字符缓冲输入流
特殊方法   读一行
 */
public class Demo04 {


    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new FileReader("day13\\aaa\\bbb.txt"));
        String s=null;
        while ((s=reader.readLine())!=null) {
            System.out.println(s);
        }


             reader.close();

    }
}
